package com.health.db.service.user.impl;

import java.util.List;

import com.health.db.dao.user.IVoiceOnDemondListDao;
import com.health.db.model.VoiceOnDemondList;
import com.health.db.model.VoiceOnDemondListExample;
import com.health.db.service.user.IVoiceOnDemondListService;

public class VoiceOnDemondListServiceImpl implements IVoiceOnDemondListService {

	private IVoiceOnDemondListDao voiceOnDemondListDao ;

	@Override
	public List<VoiceOnDemondList> selectByExample(
			VoiceOnDemondListExample example) {
		// TODO Auto-generated method stub
		return voiceOnDemondListDao.selectByExample(example);
	}

	public IVoiceOnDemondListDao getVoiceOnDemondListDao() {
		return voiceOnDemondListDao;
	}

	public void setVoiceOnDemondListDao(IVoiceOnDemondListDao voiceOnDemondListDao) {
		this.voiceOnDemondListDao = voiceOnDemondListDao;
	}

	@Override
	public VoiceOnDemondList selectByPrimaryKey(Long recid) {
		// TODO Auto-generated method stub
		return voiceOnDemondListDao.selectByPrimaryKey(recid);
	}

	@Override
	public int updateListenAmount(Long recid) {
		// TODO Auto-generated method stub
		return voiceOnDemondListDao.updateListenAmount(recid);
	}
}
